Improved Algorithms for Detecting Negative Cost Cycles in Undirected Graphs
نویسندگان
چکیده
In this paper, we explore the design of algorithms for the problem of checking whether an undirected graph contains a negative cost cycle (UNCCD). It is known that this problem is significantly harder than the corresponding problem in directed graphs. Current approaches for solving this problem involve reducing it to either the b-matching problem or the T -join problem. The latter approach is more efficient in that it runs in O(n) time on a graph with n vertices and m edges, while the former runs in O(n) time. This paper shows that instances of the UNCCD problem, in which edge weights are restricted to be in the range {−K · ·K} can be solved in O(n · log n) time. Our algorithm is basically a variation of the T -join approach, which exploits the existence of extremely efficient shortest path algorithms in graphs with integral positive weights. We also provide an implementation profile of the algorithms discussed.
منابع مشابه
Branch-and-cut algorithms for the undirected m
In the m-Peripatetic Salesman Problem (m-PSP) the aim is to determine m edge disjoint Hamiltonian cycles of minimum total cost on a graph. This article describes exact branch-and-cut solution procedures for the undirected m-PSP. Computational results are reported on random and Euclidean graphs.
متن کاملBreaking the O(m2n) Barrier for Minimum Cycle Bases
We give improved algorithms for constructing minimum directed and undirected cycle bases in graphs. For general graphs, the new algorithms are Monte Carlo and have running time O(mω), where ω is the exponent of matrix multiplication. The previous best algorithm had running time Õ(m2n). For planar graphs, the new algorithm is deterministic and has running time O(n2). The previous best algorithm ...
متن کاملSubquadratic Algorithms for the Diameter and the Sum of Pairwise Distances in Planar Graphs
We show how to compute for n-vertex planar graphs in O(n11/6 polylog(n)) expected time the diameter and the sum of the pairwise distances. The algorithms work for directed graphs with real weights and no negative cycles. In O(n15/8 polylog(n)) expected time we can also compute the number of pairs of vertices at distance smaller than a given threshold. These are the first algorithms for these pr...
متن کاملA Characterization of Undirected Graphs Admitting Optimal Cost Shares
In a seminal paper, Chen, Roughgarden and Valiant [7] studied cost sharing protocols for network design with the objective to implement a low-cost Steiner forest as a Nash equilibrium of an induced cost-sharing game. One of the most intriguing open problems up to date is to understand the power of budget-balanced and separable cost sharing protocols in order to induce low-cost Steiner forests. ...
متن کاملApproximability of Minimum-weight Cycle Covers
A cycle cover of a graph is a set of cycles such that every vertex is part of exactly one cycle. An L-cycle cover is a cycle cover in which the length of every cycle is in the set L ⊆ N. For most sets L, computing L-cycle covers of minimum weight is NP-hard and APX-hard. While computing L-cycle covers of maximum weight admits constant factor approximation algorithms (both for undirected and dir...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2009